#include <stdio.h>

int main() {
  int a[10] = {3, 5, 8, 9, 1, 3, 4, 56, 6, 7};
  int m, i;
  m = -1;
  i = 0;
  do {
    if (a[i] < m) {
    } else {
      m = a[i];
    }
    i = i + 1;
  } while (i < 10);
  printf("max is %d.\n", m);
  return 0;
}